home *** CD-ROM | disk | FTP | other *** search
/ United Public Domain Gold 2 / United Public Domain Gold 2.iso / utilities / pu102.dms / pu102.adf / PCOPY.DOC < prev    next >
Text File  |  1990-01-25  |  13KB  |  312 lines

  1.                           Read HISTORY first !
  2.  
  3.  
  4.                              PCOPY
  5.  
  6.     Pcopy was made to produce large amounts of different copies in busy
  7.     environs.  Like:  People are talking to you and you are searching
  8.     programs for them in databases.  Others want information how to install
  9.     some driver.  You divert people to others you know to be an authority on
  10.     their problems.  You are copiing PD and you have an arrears of two
  11.     hours.  People ask whether their disks are ready yet.  What are you
  12.     copiing at the moment?  What have you already done?  When to insert the
  13.     next set?
  14.  
  15.     Pcopy shows the actual situation conveniently arranged, starts upon disk
  16.     insertion, and produces reliable copies, because it can verify the
  17.     written data.
  18.  
  19.     Pcopy does not copy copy-protected disks.  At least not that I know.
  20.     Its working is similar to that of Trackdisk (The software that normally
  21.     controls the drives).  If Trackdisk cannot read a disk, than Pcopy
  22.     probably will not be able too.
  23.  
  24.     If your source disk is failing, you can let Pcopy try to produce a copy
  25.     with the original data recovered.
  26.  
  27.     Although Pcopy displays a lot of information, I think it is a rather
  28.     dangerous copier (on behalf of its autostart capabilities) and its
  29.     application lies in the production area.
  30.  
  31.  
  32.                               START
  33.  
  34.     Pcopy can be executed from either the CLI or the Workbench.  Two
  35.     Trackdisk-drives must be available.  That is, ie., the internal and a
  36.     normal external drive.  Selection is done by clicking on/off gadgets in
  37.     a window.  Two drives must be selected or none at all, followed by
  38.     clicking "DONE".
  39.     It is also possible to give the drivenames on the commandline.  Pcopy
  40.     will check for drive presence and type.  If the selected drives are
  41.     available, DOS is asked to stay away from them.  Pcopy takes control of
  42.     the drives (as does diskcopy) and sets up the user interface.
  43.  
  44.     It is recommended to install TrackSalve when Pcopy is used on a system
  45.     with more than two drives.  The Trackdisk.device has a nasty bug which
  46.     can interfere with Pcopy.  This bug is removed by TrackSalve.
  47.     Nevertheless pcopy will deliver good copies.
  48.  
  49.  
  50.                              WINDOWS
  51.  
  52.     There are two small windows (marked "Now in DFx:") which show at any
  53.     moment the drive's contents.  An empty window means an empty drive.
  54.     Normally the disknames appear in these windows.  If the disk cannot
  55.     produce a name, a classification is displayed.  All text different from
  56.     <VolumeName> is printed in another color. (black)
  57.  
  58.     In the window "Copy history" appear the names of all successfully copied
  59.     disks.  If you want a name to disappear, double click on it.
  60.  
  61.     In the progression window the progress of the copy process is graphical
  62.     presented.  Although the depth gadgets are invisible during the copy,
  63.     they still exist and work.  The graph shows where pcopy has been active.
  64.     The top side presents head 0.  This bar comes in three colors: white (1,
  65.     text), black (2, depth) and red (3, cursor).  The cursor color is used
  66.     to show a write action, the text a verify read and depth a verify reread
  67.     (after a rewrite).
  68.     The number tells where Pcopy has written last.
  69.  
  70.     Finally there is the control panel with the control gadgets in it.
  71.  
  72.  
  73.                              GADGETS
  74.  
  75.  
  76.     -- Verify  ON/OFF
  77.  
  78.     The destination disk is read back and compared with the write buffer.
  79.     It can be turned on and off during the the copy process.
  80.  
  81.  
  82.     -- DFx: --> DFy:
  83.  
  84.     Defines which drive is source and which is destination.
  85.     Clicking the arrow reverses the direction.
  86.  
  87.  
  88.     -- Adapt Date
  89.  
  90.     DOS can distinguish the copy from the original if the creation and last
  91.     altered date and time are different on both disks.  If there are two
  92.     disks present with the same volumename and date/time, DOS will crash.
  93.     To prevent this, the standard Diskcopy changes these fields.  Also if
  94.     the BMFLAG is -1, it changes it to +1.  Pcopy can do this too, thus
  95.     preventing to create an exact copy.  Also if some read error could not
  96.     be repaired, Pcopy can set this flag to zero.  This all happens with
  97.     this gadget set to "ON".  Set to "OFF", the copy will be exact (if
  98.     possible).
  99.  
  100.  
  101.     -- Start Copy
  102.  
  103.     To be used to start the copy process manually.  The command is hold
  104.     until it is possible to start the copy process (two disks inserted).  A
  105.     second click before the process is started will nullify the start
  106.     command.  This gadget changes into a "Stop Copy" gadget during copiing.
  107.     A confirmation is required.  Disk removal, source as well as
  108.     destination, is treated as a confirmed "Stop Copy".
  109.  
  110.  
  111.     -- Auto Start Condition
  112.  
  113.     This whole area is a gadget.  Click in it to cycle the four stages.  See
  114.     auto start for details.
  115.  
  116.  
  117.     -- Triangle gadget
  118.  
  119.     In the topborder there is a gadget with a triangle.  This gadget affects
  120.     the way Pcopy behaves to other disk users.  Its usage of the drive
  121.     hardware it so intensive, that normally (triangle pointing up) other
  122.     users donot get access to their drives.  You can let Pcopy be a little
  123.     more modest by letting this gadget point down.  This costs from 3 to 70
  124.     seconds or more copy time.
  125.  
  126.  
  127.                            AUTO START
  128.  
  129.     When a disk is inserted, it is classified.  To do so, the root track is
  130.     read and analised.  If an error is detected while reading this track,
  131.     Pcopy tries to repair the track to make this classification safe.  Four
  132.     different types are distinguished and its classification apears in the
  133.     "Now in .." window:
  134.  
  135.  
  136.     -- New, Unformatted
  137.  
  138.     No data is detected.
  139.  
  140.  
  141.     -- Non DOS
  142.  
  143.     Some data is found. But its format is unknown by Pcopy.
  144.  
  145.  
  146.     -- DOS, no root
  147.  
  148.     The track can be read, but the root sector was not found.
  149.  
  150.  
  151.     -- <VolumeName>
  152.  
  153.     The root is found and the name of the disk is displayed.
  154.  
  155.  
  156.     Now that Pcopy knows what kind of disk its dealing with, it can let the
  157.     copy start depending on a user selected condition.  These are listed:  
  158.  
  159.  
  160.     -- Off: Manual Start
  161.  
  162.     Pcopy does not start copy until the Start gadget is clicked.
  163.  
  164.  
  165.     -- Dest must be New
  166.  
  167.     Pcopy starts only when a disk is classified as "New, Unformatted".  The
  168.     formats that are known to be detected are MS-DOS, MSX, Archimedes, Atari
  169.     and Mac.  Probably most other formats are detected too, but you must
  170.     check it for yourself.
  171.  
  172.     -- Dest may not be DOS
  173.  
  174.     Pcopy starts only when a disk is classified as "New, Unformatted" OR
  175.     "Non DOS".  By other systems already formatted disks are overwritten.
  176.  
  177.     -- Unconditional Start
  178.  
  179.     Starts always upon insertion.  If the disk is not write protected, it is
  180.     simply overwritten.  This is a dangerous selection and is emphasized by
  181.     changing the gadged's color.  If an Amiga-DOS disk is to be overwritten,
  182.     some sound is heard and a three second delay will elapse before the copy
  183.     process starts.  When you remove the disk within this delay or click the
  184.     "Stop Copy" gadget, no writing has taken place.  You can look at the
  185.     Progression window, and if no graph or number is visible, you were in
  186.     time.  I can only say:  Donot use this selection.
  187.  
  188.  
  189.                             REQUESTERS
  190.  
  191.     If an error is detected, a requester will appear.  If abort is chosen,
  192.     then the copy process will be terminated.  The actions following upon
  193.     retry are listed below:
  194.  
  195.            Source read error # xx
  196.            On cylinder # yy, head z.
  197.            <Short error description>
  198.  
  199.     Retry tries to read again.
  200.     Salve tries to repair the faulting track by multiple reads and analysis.
  201.     Copy continues after this action.
  202.  
  203.            Destination write error # xx
  204.            On cylinder # yy, head z.
  205.            <Short error description>
  206.  
  207.     Retry tries to write again.
  208.  
  209.            Verify error # xx
  210.            On cylinder # yy, head z.
  211.  
  212.     Retry rewrites the track and checks again.
  213.  
  214.     If you do not know what the errors mean, ignore them.  Do a few retries
  215.     and abort if no success.
  216.  
  217.     Some actions produce confirmation requesters, like Stop Copy and the
  218.     standard stop gadget.  These are straightforward.  But perhaps the
  219.     system has too less free memory to honor the memory requests to build
  220.     the requester.  Then some defaults become active: "Abort" and "User was
  221.     serious".
  222.  
  223.     The requester is not a true requester but a window with gadgets.  So if
  224.     you use DMouse in a certain way, you have to place the mouse pointer in
  225.     this requester to use the standard keyboard shortcuts.
  226.  
  227.  
  228.                            TRACK SALVAGE
  229.  
  230.     Pcopy has capabilities to recover data from a damaged track.  The
  231.     history window changes into a report window.  Each salved track produces
  232.     two lines.  The line starting with 'L' reports the not recovered labels.
  233.     The 'S' reports not recovered sectors.  Behind the 'S' and 'L' the
  234.     tracknumber is displayed.  If the line remains empty, you are lucky.
  235.     Otherwise the numbers of the not recovered labels or sectors will
  236.     appear.  Normally labels are not used, and diskcopy does not copy them
  237.     at all.  So ignore the label report.  The not recovered sectors are more
  238.     important.  A disk that has been completely copied, but with one or more
  239.     not recovered sectors, appears Italic in the history window.  The report
  240.     remains visible as long as the destination disk stays in the drive.  A
  241.     special Pcopy pattern ('Pcopy2',X,0) is written into not recovered
  242.     sectors.  In that case if "Adapt Date" is ON, the BMFLAG is made 0.
  243.  
  244.  
  245.                            PERFORMANCE
  246.  
  247.     Pcopy is fast (the fastest of all).  The best times: 100/68 seconds,
  248.     verify ON/OFF.
  249.  
  250.     Pcopy tries to be friendly to other tasks, it leaves them a lot of time.
  251.     But in its disk use it is truly unfriendly.  Therefore you can tell
  252.     Pcopy to give way to other tasks which want to use the disk hardware
  253.     (other drives than those controlled by (this) Pcopy, of course).
  254.  
  255.     Pcopy is completely written over again (Fish 151).  The copier mostly in
  256.     assembly and the user interface in C.  The user interface became a
  257.     separate task.  Pcopy uses ONLY code and data derived from the original
  258.     .i and .h files.  Therefore I think it will be compatible with future
  259.     releases of the OS.
  260.  
  261.  
  262.                             HISTORY
  263.  
  264.     Pcopy 2.01:
  265.  
  266.     The audio.device is not to be accessed in the standard way, as I read
  267.     recently in a publication of Commodore.  Pcopy used the standard way and
  268.     sometimes the audio.device died.  Pcopy waited for an answer..  forever..
  269.  
  270.     The algorithms of the size of the requester and its gadgets used the
  271.     default font instead of the font of the screen on which Pcopy executes.
  272.     The requesters now are perhaps a little nicer when other fonts are used.
  273.  
  274.     The salve routine has been made a little more efficient without changing
  275.     its functionality.  This results into a quicker login of non-Dos disks
  276.     and a slighty shorter track salvage.  For that matter, the salve routine
  277.     of TrackSalve is far superior.  Pcopy 3.0 (if ever released) will be
  278.     provided with these better routines.
  279.  
  280.  
  281.     Pcopy 2.02:
  282.  
  283.     A bug in the graph color setting caused a double retry indication in the
  284.     graphic presentation.  The drawing is revised and more information is
  285.     displayd.  It now displays the verify actions separately.  The colors
  286.     have been changed to be more distinct in the Commodore color setup.
  287.  
  288.     Clicking "DONE" in the select drives window without selected drives
  289.     causes a quick termination.
  290.  
  291.  
  292.     Pcopy 2.1:
  293.  
  294.     The salve routines are replaced by those currently active in TrackSalve.
  295.     These are far superior to the old ones.
  296.  
  297.  
  298.                           COPYRIGHT
  299.  
  300.     Copyright 1989, 1990 by D.W.Reisig.  Pcopy is freely distributable
  301.     (FreeWare).  All you may charge for is medium costs.  You must include
  302.     this file (Pcopy.doc) with the program (Pcopy).  You may not change
  303.     these files.  
  304.  
  305.  
  306.     Dirk Reisig
  307.     Woudweeren 10
  308.     1151 AV  Broek in Waterland
  309.     Holland
  310.  
  311.     23-Aug-90
  312.